﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace IHMainApp
{
    public partial class GetNameForm : Form
    {
        public string ItemName { get; private set; }

        public GetNameForm()
        {
            InitializeComponent();
            ItemName = "";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ItemName = textBox1.Text;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
